package edu.hwadee.entity;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Goodsorder entity. @author MyEclipse Persistence Tools
 */

public class Goodsorder implements java.io.Serializable {

	// Fields

	private Integer goodsOrderId;
	private Staff staff;
	private Company company;
	private Date sellDate;
	private Float earn;
	private Float receivedMoney;
	private Short paymentState;
	private Float taxFee;
	private Float saleCommission;
	private Float profit;
	private Short checkState;
	private Set goodssells = new HashSet(0);

	// Constructors

	/** default constructor */
	public Goodsorder() {
	}

	/** full constructor */
	public Goodsorder(Staff staff, Company company, Date sellDate, Float earn, Float receivedMoney, Short paymentState,
			Float taxFee, Float saleCommission, Float profit, Short checkState, Set goodssells) {
		this.staff = staff;
		this.company = company;
		this.sellDate = sellDate;
		this.earn = earn;
		this.receivedMoney = receivedMoney;
		this.paymentState = paymentState;
		this.taxFee = taxFee;
		this.saleCommission = saleCommission;
		this.profit = profit;
		this.checkState = checkState;
		this.goodssells = goodssells;
	}

	// Property accessors

	public Integer getGoodsOrderId() {
		return this.goodsOrderId;
	}

	public void setGoodsOrderId(Integer goodsOrderId) {
		this.goodsOrderId = goodsOrderId;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Company getCompany() {
		return this.company;
	}

	public void setCompany(Company company) {
		this.company = company;
	}

	public Date getSellDate() {
		return this.sellDate;
	}

	public void setSellDate(Date sellDate) {
		this.sellDate = sellDate;
	}

	public Float getEarn() {
		return this.earn;
	}

	public void setEarn(Float earn) {
		this.earn = earn;
	}

	public Float getReceivedMoney() {
		return this.receivedMoney;
	}

	public void setReceivedMoney(Float receivedMoney) {
		this.receivedMoney = receivedMoney;
	}

	public Short getPaymentState() {
		return this.paymentState;
	}

	public void setPaymentState(Short paymentState) {
		this.paymentState = paymentState;
	}

	public Float getTaxFee() {
		return this.taxFee;
	}

	public void setTaxFee(Float taxFee) {
		this.taxFee = taxFee;
	}

	public Float getSaleCommission() {
		return this.saleCommission;
	}

	public void setSaleCommission(Float saleCommission) {
		this.saleCommission = saleCommission;
	}

	public Float getProfit() {
		return this.profit;
	}

	public void setProfit(Float profit) {
		this.profit = profit;
	}

	public Short getCheckState() {
		return this.checkState;
	}

	public void setCheckState(Short checkState) {
		this.checkState = checkState;
	}

	public Set getGoodssells() {
		return this.goodssells;
	}

	public void setGoodssells(Set goodssells) {
		this.goodssells = goodssells;
	}

}